import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import i18n from "@/locals/index";
import pinia from "@/plugins/pinia";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import "@/plugins/iconfont/iconfont"; // 引入iconfont图标
import "@/assets/css/main.less";
import "animate.css";

const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}

app.use(pinia);
app.use(i18n);
app.use(router);

app.mount("#app");
